package cn.shyouchi.wuguanjia.android.ui.casualrecord;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

import cn.shyouchi.wuguanjia.android.common.Constant;

/**
 * Created by Eenie on 2017/3/28 at 14:56
 * Email: 472279981@qq.com
 * Des:
 */

public class ChooseGroup extends AbstractExpandableItem<ChooseBean> implements MultiItemEntity {

    private int id;
    private String name;
    private List<ChooseBean> info;
    private boolean selected;

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ChooseBean> getInfo() {
        return info;
    }

    public void setInfo(List<ChooseBean> info) {
        this.info = info;
    }

    @Override
    public int getLevel() {
        return 0;
    }

    @Override
    public int getItemType() {
        return Constant.ITEM_TYPE_GROUP;
    }

}
